<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<!--<link rel="icon" href="../../favicon.ico">-->

<title>云+ 商户后台管理系统</title>

<!-- Bootstrap core CSS -->
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
  <script src="../static/lib/js/html5shiv.min.js"></script>
  <script src="../static/lib/js/respond.min.js"></script>
  <![endif]-->

<link rel="stylesheet" href="../static/lib/css/bootstrap.min.css" />

<link rel="stylesheet" href="../static/lib/css/bootstrap-select.css" />
<link rel="stylesheet" href="../static/lib/css/bootstrap-switch.css" />
<link rel="stylesheet" href="../static/lib/css/jquery.bootgrid.css" />
<link rel="stylesheet" href="../static/lib/css/bootstrap-datepicker.css" />
<link rel="stylesheet" href="../static/css/common.css" />
</head>

<body>


<div class="container-fluid">
	<div class="row-fluid">
		<div class="span12">
		</div>
	</div>
	<div class="row-fluid">
		<div class="span3" style="width:20%;float:left;border:1px solid #FFFFFF;">
		</div>
		<div class="span6" style="width:50%;border:0px solid red;float:left;">
			<div class="tabbable" id="tabs-193765">
				<ul class="nav nav-tabs">
					<li>
						<a href="#panel-832725" data-toggle="tab">登录</a>
					</li>
					<li class="active">
						<a href="#panel-505426" data-toggle="tab">注册</a>
					</li>
				</ul>
				<div class="tab-content">
					<div class="tab-pane" id="panel-832725">
						<p>
							第一部分内容.
						</p>
					</div>
					<div class="tab-pane active" id="panel-505426">
						<p>
							
							
							<form  id="registerForm" method="post">
								<fieldset>
									<!--  <legend>表单项</legend>  -->
									 <div class="item"><label>邮箱：</label><input type="text" name="email" /> </div>
									 <div class="item"><label>登录名：</label><input type="text" name="loginName" /> </div>
									 <div class="item"><label>显示名：</label><input type="text" name="nickName" /></div> 
									 <div class="item"><label>密码：</label><input type="password" name="password" /> </div>
									 <div class="item"><label>密码确认：</label><input type="password" name="password2" id="password2"/> </div> 
									 <!-- 
									 <span class="help-block">这里填写帮助信息.</span> <label class="checkbox"><input type="checkbox" /> 勾选同意</label> 
									  -->
									 <div align="center"  class="item" style="margin-top:30px;"><button type="button" id="ajaxSubmit" class="btn">提交</button></div>
								</fieldset>
							</form>
							
							
						</p>
					</div>
				</div>
			</div>
			
		</div>
		<div class="span3">
		</div>
	</div>
	<div class="row-fluid">
		<div class="span12">
		</div>
	</div>
</div>





	<!-- Bootstrap core JavaScript
================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
	<script src="../static/lib/js/jquery-2.0.0.min.js"></script>
	<script src="../static/lib/js/bootstrap.min.js"></script>
    <script type="text/javascript" language="javascript" src="../static/lib/js/jquery.form.min.js"></script>
    <script type="text/javascript" language="javascript">
         $(function(){
            //异步提交表单
            $("#ajaxSubmit").on("click",function(){
                console.log($(this));
                $("#registerForm").ajaxSubmit({
                    type:'post',
                   	url:'http://192.168.10.231:8080/single-personal-blog-web/register.htm',
                    //url:'http://192.168.110.22:8210/adUpload',
                   // url:'http://localhost:2222/uploadPic',
                  //  url:'http://localhost:5555/api-file/uploadPic',
                  //  url:'http://192.168.10.231:8080/cloudplus-web/picUpload',
                   // url:'http://192.168.110.22:8210/picUpload',
                    success:function(data){
                    	alert(data);
                        console.log(data);
                    },
                    error:function(XmlHttpRequest,textStatus,errorThrown){
                        console.log(XmlHttpRequest);
                        console.log(textStatus);
                        console.log(errorThrown);
                    }
                });
            });
        }); 
    </script>
</head>
</body>
</html>